<HTML>
<HEAD>
<title>QueueLong.takeUntil - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">org.mapdb</a>&nbsp;/&nbsp;<a href="index.html">QueueLong</a>&nbsp;/&nbsp;<a href=".">takeUntil</a><br/>
<br/>
<h1>takeUntil</h1>
<a name="org.mapdb.QueueLong$takeUntil(org.mapdb.QueueLongTakeUntil)"></a>
<code><span class="keyword">fun </span><span class="identifier">takeUntil</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.QueueLong$takeUntil(org.mapdb.QueueLongTakeUntil)/f">f</span><span class="symbol">:</span>&nbsp;<a href="../-queue-long-take-until/index.html"><span class="identifier">QueueLongTakeUntil</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<p>Takes elements, until callback returns true. When callback returns false, last node is preserved in Queue</p>
<br/>
<br/>
</BODY>
</HTML>
